﻿<Window 
    x:Class="BlueMarble.Genesis.Shell.View"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Regions="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
    xmlns:InfrastructureHelpers="clr-namespace:BlueMarble.Genesis.Infrastructure.Helpers;assembly=BlueMarble.Genesis.Infrastructure"
    Title="Blue Marble Shell" 
    Width="900" Height="625">
    <Window.Resources>
        <InfrastructureHelpers:ResourceWrapper x:Key="InfrastructureResourceWrapper" />
    </Window.Resources>
    <Grid>
        <ItemsControl
            Regions:RegionManager.RegionName="{Binding RegionNames.MainRegion, Source={StaticResource InfrastructureResourceWrapper}}"
            Regions:RegionManager.RegionManager="{Binding Path=RegionManager}" />
    </Grid>
</Window>
